<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<%@ include file="/WEB-INF/include.jsp" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title><fmt:message key="title"/></title>
</head>
<body>

<h1><fmt:message key="priceincrease.heading"/></h1>
<form method="post">
	<table bgcolor="f8f8ff" cellpadding="5">
		<tr>
			<td alignment="right" width="20%">Increase (%):</td>
			<spring:bind path="priceIncrease.percentage">
				<td width="20%">
					<input type="text" name="percentage" value="<c:out value="${status.value}"/>">
				</td>
				<td width="60%">
					<font color="red"><c:out value="${status.errorMessage}"/></font>
				</td>
			</spring:bind>
		</tr>
	</table>
	<br>
	<spring:hasBindErrors name="priceIncrease">
		<b>Please fix all errors!</b>
	</spring:hasBindErrors>
	<p>
	<input type="submit">
</form>

<a href="<c:url value="hello.html"/>">Home</a>
</body>
</html>